//
//  Service+DiaryBook.h
//  huimei
//
//  Created by fengyn on 16/1/23.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import "ServiceManager.h"

@interface ServiceManager(DiaryBook)
///创建日记本
+ (void)createDiaryBookWithInfo:(NSDictionary *)infoDic success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///删除日记本
+ (void)deleteDiaryBookWithId:(NSString *)diaryBookId success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///删除日记
+ (void)deleteDiaryWithId:(NSString *)diaryId success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///分页查询自己的日记本
+ (void)getMyDiaryBooksWithPageIndex:(NSUInteger)pageIndex success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///查询日记本详情
+ (void)getDiaryBookInfoWithId:(NSString *)diaryBookId success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;
@end
